package com.lanswon.qzsmk.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.lanswon.qzsmk.model.CardLoss;

@Repository
public interface CardLossMapper {
	
	/**
	 * 查询所有挂失类型
	 * @return
	 */
	List<CardLoss> queryCardLoss();

	/**
	 * 查询指定挂失类型
	 * @param lossCode 挂失类型代码
	 * @return
	 */
	CardLoss queryCardLossByLossCode(String lossCode);
	
	/**
	 * 查询指定挂失类型
	 * @param cardStatus  匹配的卡状态
	 * @return
	 */
	CardLoss queryCardLossByCardStatus(String cardStatus);



}